import TokenCache from '@/utils/cache/TokenCache'

export function loginResult(resJson) {
	TokenCache.setToken(resJson.Data)
	location.reload()
	this.$router.push({ path: '/' })
}